<?php
	namespace app\index\model;
	use think\Model;
	use think\Db;
	class Logins extends Model{
		protected $tbale='admin';
		public function list()
		{
			$name=input('param.name');
			$password=input('param.password');
			$data=Db::table('admin')->where('a_name',$name)->where('a_password',$password)->find();
			return $data;
		}
	}
?>